#pragma once
#include "Book.h"
#include <fstream>
#include <iostream>
#include <filesystem>
#include <vector>

using std::cout;
using std::cin;
using std::endl;
using std::string;
using std::ofstream;
using std::ifstream;
using std::ios;
using std::vector;

namespace fs = std::filesystem;


class bookMgr
{
public:
	bookMgr();
	~bookMgr();
	bool addBook(Book book);
	bool delBook(string bookSn);
	bool remendBook(Book book, string bookSn);
	Book queryBook(string name);
	Book selectBook(string bookSn);
	vector<Book> checkbook_by_stuID(string stuID);
};

